function load () {
  var screenHeight = $(window).height()
  var screenWidth = $(window).width()
  $('.container').css('height', screenHeight)
  $('.container').css('width', screenWidth)
  $(".weui_dialog_ft").click(function() {

  });

  $(".register-font").click(function() {
    window.location.href = "register.html";
  });
}

function changeBtn () {
  var phone = $('.phone').val()
  var password = $('.password').val()
  if (phone.length != 0 && password.length != 0) {
    $('.login-button').css('background-color', '#61ca8b')
  } else {
    $('.login-button').css('background-color', '#dadada')
  }
}